﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Profile;
using COFE.Core.Lister;
using COFE.Core.Utils;
using System.IO.IsolatedStorage;
using NUnit.Framework;

namespace COFE.IO.SZ
{
    public class SevenZipFactory : IFactory<IDirectoryLister>
    {
        public SevenZipFactory(string factoryKey)
        {
            Assert.IsNotNullOrEmpty(factoryKey);
            FactoryKey = factoryKey;
        }

        public string FactoryKey { get; private set; }

        public IDirectoryLister Construct(string id, string paramString)
        {                        
            return new SevenZipDirectoryLister(this, id);
        }

        public string Recycle(IDirectoryLister product)
        {
            return "";
        }
    }
}
